package com.jrx.anytxn.customer.bean;

import com.jrx.anytxn.customer.entity.CmCustomerLimitInfo;
import com.jrx.anytxn.customer.entity.TlMarketingRecord;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 授信处理的bean
 * @author qingyao.xing
 * @version 1.0
 * @date 2019/10/31
 */
public class CreditApprovalBean implements Serializable {
    //授信时添加客户额度集合
    private List<CmCustomerLimitInfo> addCmCustomerLimitInfos= new ArrayList<>();
    //授信时修改客户额度集合
    private List<CmCustomerLimitInfo> modifyCmCustomerLimitInfos= new ArrayList<>();
    //授信产生的营销记录
    private TlMarketingRecord marketingRecord;

    public List<CmCustomerLimitInfo> getAddCmCustomerLimitInfos() {
        return addCmCustomerLimitInfos;
    }

    public void setAddCmCustomerLimitInfos(List<CmCustomerLimitInfo> addCmCustomerLimitInfos) {
        this.addCmCustomerLimitInfos = addCmCustomerLimitInfos;
    }

    public void addAddCmCustomerLimitInfos(CmCustomerLimitInfo cmCustomerLimitInfo) {

        this.addCmCustomerLimitInfos.add(cmCustomerLimitInfo) ;
    }

    public List<CmCustomerLimitInfo> getModifyCmCustomerLimitInfos() {
        return modifyCmCustomerLimitInfos;
    }

    public void setModifyCmCustomerLimitInfos(List<CmCustomerLimitInfo> modifyCmCustomerLimitInfos) {
        this.modifyCmCustomerLimitInfos = modifyCmCustomerLimitInfos;
    }
    public void addModifyCmCustomerLimitInfos(CmCustomerLimitInfo cmCustomerLimitInfos) {
        this.modifyCmCustomerLimitInfos.add(cmCustomerLimitInfos) ;
    }

    public TlMarketingRecord getMarketingRecord() {
        return marketingRecord;
    }

    public void setMarketingRecord(TlMarketingRecord marketingRecord) {
        this.marketingRecord = marketingRecord;
    }
}